package com.qianniu.napi.admin.service;

import com.baomidou.mybatisplus.service.IService;
import com.qianniu.napi.admin.entity.Coupon;
import com.qianniu.napi.admin.entity.CouponTpl;
import com.qianniu.napi.admin.entity.penum.Qgettype;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author chenxuebin
 * @since 2018-07-07
 */
public interface ICouponService extends IService<Coupon> {

    List<Coupon> getStoreCoupon(Long uid, Long sid);

    public Long lingQuan(String sn, Long zfuid, Long uid, CouponTpl ctpl, Qgettype oritype);

    public Long lingQuantongji(String sn,Long zfuid,Long uid,CouponTpl ctpl,Qgettype oritype,boolean ishuiyuan);

    public Boolean conponConfirm(String sn, Long couponId, Long uid);

}
